package com.boot.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("nacos-provider") //服务端的服务名称
public interface ProviderClient {

    //调用服务中的接口
    @GetMapping("/provider")
    String provider();
}
